fix xcode 6.1b2 issues.
V, M, Q.
add _misc to gitignore.
move code from main to AppDelegate.
remove unnecessary build settings.