First working version of GUI.