Fix xterm-mouse in emacs
Add go helpers for emacs
Improve osx support