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

Main now uses the Window class to draw a Window for the main program.