Finalized big GL test for functionality + various fixes.

The test now creates a visualization and the visual result
is tested. I intend to touch every API function with this test,
but need to push and see coverage results before I can see if that
worked :)
Fixes to gl backend
More tests for gl backend