Fix some bugs with Tmux
Merge pull request #10 from Dh0mp5eur/master

Checked code and tested csgoserver. This works. Confirmed would fix a few more bugs with tmux. Thank you