Added on write to buffer trigger
Added background tab refreshing. Supported for *nix. Close #1
Initial commit