* add callbacks with parameters
* add gy_debug and gy_setlocale functions