Fix a trailing new line workaround present

ever since I implemented the first syntax check.
All error dialogs are now use _displayError()