Window class now makes a window and can check to see if closed