Fix some small bugs in gorilla editor. Add delete