Per function callbacks

* reenable per function callbacks
* add directCall to omit callbacks when calling OpenGL functions
* fix OpenGL version query
:+1: