tmux window swapping and cleanup