Added a way to delete the entity instance in the editor.
Added a way to stop the script manager.