Added documentation to MainFrameController class.