Make tmuxsession a stand-alone script

This is easier when SSH'ing in or using a different shell, for example.