Cleaned up gui; made buttons visible dependent on state of process