removed stuff that was only useful when using emacs in a terminal.