iOS 8 support, added dependencies, cleaned up preferences