Removed unnecessary newlines from echoed lines.