doc: mapping of OpenGL limit and state queries, various improvements.