Implemented basic GUI.