Clean up serial output.