Allow GL state (re-)application to exit non-locally in a well-defined manner.
Make sure to reapply texture uniforms properly if the program has changed.
Define a special loading-exit that the renderlist catches.
Include the ID in Resource.Image debug-strings.
Updated jglob.
Merge branch 'tmp' into core