Some logging
Fix for outdated code
Changed scoped_ptr to scoped_refptr since ApiHandler is a RefCounted mixin
Stash of working tree @spolu : Cannot get the bound callback to fire from ExecuteCommand, EXC BAD ACCESS is thrown