Replaced a stack of errors by a single error in context.  Implemented glGetError.
Removed unneeded namespace prefixes and improved the error messages in set_material_parameter.