more comments in MainFrame