Made main window called more indirectly and gathered main window functions together in the application.
Made main window called more indirectly and gathered main window functions together in the application.

opentechinstitute/commotion-client