remove no longer needed newline-rewriting, improve a dbg msg