Added icon to main window and a somewhat cleaner gamesdelegate