Merge pull request #1 from elsassph/master

Better errors handling (parse errors on the UI thread, clear errors panel on new errors and FileSave)