Improve the display of GF error messages

The linebreaks in messages are now preserved.