Fix up headers
Allow log to have newlines.

Due to the limitations of insertHtml in QTextEdit there were no newlines
being added. This has been rectified by changing all \n to <br />