* fixed crash because of block/string copy
[#73293212]
Cleanup to not screw up our build.
Applying my improvement to the logger
Turning off logging by default and making async logging.
Fixing some compilation problems with older version of XCode