Better errors handling

- parse errors on the UI thread
- clear errors panel on new errors and FileSave