Bug 871990 - Make multi-line messages show up as a single line

Turn newlines into spaces when prepping elements for the main view so that multi-line messages show up as a single line and do not overflow into the following message.