Integer precision issues and cleanup
Cleanup: don't need to -weakSelf objects for OOWeakSet

Relates to 5636606
Warning fix
Fix several leaks of weakRefs
Fix under-retention (related to 0a484bb)
Cleanup: don't need to -weakSelf objects for OOWeakSet

Relates to 0a484bb
Merge branch 'maintenance/1.77'