Minor formatting changes.
Basics of GUI set up. Moved functions from main to GUI.