misc tmux and emacs fixes for OSX