Rewire global GL reference to individual contexts WIP