Added some more GUI functions

Will work on implementing state machine next.