Fixed auto-tmux cleanup bug in atmux upon exit
Renamed some internal functions of auto-tmux