changed: allow tex ref to access ogl texture id directly (for debugging)
         FBO to arb extension (from ext)
         CSM stop for key per frame (for debugging)
fixed  : correct glViewport setup before foregrounds are drawn
fixed: propagate target buffer format (from HDR stage)
       respect propagated target buffer format (shadow stage, cubemap gen)