Drop GLcore dependency from glx module. Work around double destroy case and add DRIUnlockedCallback() function. New files, lots of code coming from GL/mesa/X/xf86glx.c and the libGL loader code.