iOS 7 Compatibility

Less glitches on iOS 7, but more work is needed to finish it up.