Take advantage of void *userdata when setting callbacks.
Removed top-level func pointers/vars/things