Stripping off extra newlines from main() prints.