MainFrame compilable again.