Cleaned up printing of profiled output.