Added Globals and now a window opens