Moved window creation into Game class.