Mid refactor.
Mid refactor.
Basic ui framework laid out; integration with program state transitions
starting to take form.