fixed hostname over remote TTY
added exiting after tmux returns