Reorganized MainFrame