Conversion to ARC, compiles OK for iOS 5.0
Merge pull request #45 from marcpalmer/master

New pull request for ARC support