Makes controls usable by taking SSH keystroke data (encoded in the xterm
format) and converting them to crossterm `KeyCode`s / `KeyEvent`s and
sending them to the `Tui`.
Also adds support for suspension of the `Tui` over the SSH connection.
Some minor refactoring was also done.