Add missing newlines to printed messages