Fix for 10.10 Yosemite

Well that was easy. Just had to throw in the new code (that was helpfully being logged to Console already) and now we have Yosemite support. Sorry about that weird indentation, first time ever using Xcode for more then the iOS Simulator :)