Handle null results better, and defer to the event loop for callbacks
Merge pull request #1 from nightfly19/master

Handle null results better, and defer to the event loop for callbacks