ARC + iOS 6 support. Backwards compatibility retained.

Not fully tested, but it will run without fault under normal conditions.