MainFrame edit