tmux vi mode, mac fixes and other minor tweaks