Fix podspec frameworks for iOS
Use CADisplayLink when appropriate
Minor code cleanup