Lots of functionality split out into classes, with a hacky __main__ to bung four terminals into gtk panes.