Replace new-lines with line breaks when displaying messages

When displaying most messages, stack-traces in particular, it is useful to have the lines of the stack displayed individually instead of running together.