Updatges

Hi. I was fix a lot of bugs since you forked.
Here is a batch of updates for iOS 7, and other bugs.

BDW, I see, that you improve code very well and eliminate a lot of legacy code. 
So, if you still interesting to support this project - I will be glad to merge your pull requests.