Fix for behaviour problem in "background mode" with errors not dissapear...

...ing after editing the file. Now errors on view are cleared if file is edited.