MainFrame now exits on close.