New, more intrusive OpenGL error checking.

Old one still present, migrated texture as  example & test