More robust console output.