Formatting fix and error in non-instantiated template
Passing window handle to Gfx::createCore instead of Window itself