Fixed some out of date method calls in window creation