Error fix, plugging in Game engine in Main Window