Xcode 6 support + various tweaks and fixes.