Initial Commit
fixed some new bugs from Xcode 6 beta5