Add Mutex and ScopedLock classes for threading purposes
CGL API fixups
GL const parameter fixups
LONG and ULONG_PTR for Windows
Add Logging::process option to log process ID
Avoid glGetAttachedShaders in RegalDispatchLog unless driver logging is actually specifically enabled.
For RegalDispatchCode log the texture data to the header rather than source.