minimal working
Pre initWindow()
Broke everything