I'm at the point where the window is supposed to display blue and instead it shows white for a while, doesn't seem to work, and eventually close on it's own; no compiler errors.
The code and compiled source is available
here.
I figured it out; Was incrementing y when I was supposed to be incrementing x; sorry guys.