changed FrameView classname to MainFrame for clarity