Correct signed/unsigned arithmetic confusion
Fix invalid logging of NSUIntegers