fix glMaterial
improve support for gl_set_error in tests
add ERROR() macro and implement a pile of errors
add glGet for GL_MAX_LIST_NESTING
add a ton of error handlers
fix some type issues with raster
improve error coverage, add stub