Fixed a GCD memory management issue that was causing compilation failures for applications that are targeted for iOS 6.
Modernized some deprecated calls for iOS 6.