iOS 8 fixes including bug #66
Merge pull request #75 from aryaxt/iOS8-Compatability

iOS 8 fixes including bug #66