Update current editor when the name in the tree is changed
Add mode methods
Clean sources
Testing minimap