update to distinguish between active and selected
tweak menu example
rename menu example dir
update undo/redo example icons
refactor a common reset method
reset the menu bar when modifying while active
reset the menubar if the active item changes before updating its node
handle changes to the menu items while the menu is active