Improving scrollback buffer, removing osx stuff.