Added options to get titles working in tmux
Add checks for tmux 'loop' and missing tmux