move tmux stuff to tmux, improve twid