Per function callbacks

* reenable per function callbacks
* add directCall to omit callbacks when calling OpenGL functions
* fix OpenGL version query
I think it is as always: one less copy.