Crash fix for iOS8 b4 & Swift, resolves #55,#56,#57,#58