Fixes for iOS7, deployment target increased to 6.0