MainFrame changes