mainFrame changes