Some improvements to the console for easier debugging in production environments.