Fixed some unsafe array accesses. Updated Podfile, Podspec, README