Changed editor error management to new error system

Closes #862
Closes #864