Performance fixes

The ARC and Obj-C performance fixes from last week. Does not include the GL changes or threading since they aren't ready to ship yet.