The project was missing the window - dafuq?
Fixed the project, had a strange compiler warning