Delete mainFrame

wrong direction