Improve tmux runscript considerably

Allow custom commands, and try to autodetect filetypes