update mainframe with the panels

the new MainFrame draws one frame at a time (the old version is 4 and
moved to MainFrameBackup.java)