Improved OpenGL layer.
Fixed issue when requesting non-existing items.