Cleanup message output.