Added almost complete Program class functionality to the TUI, and
figured out some things to change within it.