Merge pull request #1 from partp/delete-tag

Refactors reload_editor method
Sync() added to update the local xml.