Per function callbacks

* reenable per function callbacks
* add directCall to omit callbacks when calling OpenGL functions
* fix OpenGL version query
why don't you pass them by const ref?