Revert "Basics of GUI set up. Moved functions from main to GUI."

This reverts commit a68621924104955fa3801ccdecef9baa740e1875.