Changed the contructor of MainFrame from GUI to MainFrame, and changed
Main to reflect this.