Fix for behaviour problem in "background mode" with errors not dissapearing after editing the file. Now errors on view are cleared if file is edited.