Logging is now queue based instead of printing directly to the console.