Fixed issue: deleting resource didnt remove the editor.
Fixed linting issues.
Merge pull request #42 from AllTheDucks/remove-editor-on-delete

Remove editor on delete