I am making a GUI for my python app. I have a class scrip for something but it opens a new window. How to I make it in the original window I created ? also I need a global varia