Improve tmux pane management