Finished the basics of the window class