tmux

It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.