Additional debug logging, build scripts and Xcode project files