I'd also try hacking in Window.d directly to see if even basic gl commands work, e.g. immediately after window and context creation, try rendering a triangle then tweak the context initialisation to see if it affects anything.
It may help you track down exactly which part of the GL setup is causing problems.
Cheers, Stew
