Add GL ERROR queries after each render pass, after alloc, and after applying 2D shaders