Made some changes so debug and stable builds can run simultaneously.
Moved the main menu's code into its own class.
Moved the status bar's code into its own class.
Refactored window initialization code to make it more logical.