Introduce Vty

Greatly simplifies Terminal management, from setup and cleanup to
drawing and input fetching.