minor fixes in gl diff + tests for it
some identation fixes