Has a better window init function. Draws a line in fullscreen.

Still freezes in windowed though.