Finished GUI context implementation. Still need to implement control logic.