on dealloc, log "this" with %p, not %x.

Also adds %p where it was missing.
And make a few fixes on the iOS project