Added compose dialog, streamlined MainFrame