Fixed function pointer calls, added four flags to separate function pointer and callback activation