Tested MainFrame, found errors