WindowSurface out of testbed scope, added onrender - no class functions