Changed editor error management to new error system

Closes #862