Made use of glLoadGen for GLX extension loading as well, implemented flags for requesting a debug or core/compatibility profile context.