change to using an event listenr based on priority
tech cleanup & batch events for single undo
tidy up tests, test for batched events on activated nodes
shortcut for batching commands
apply delete to all activated nodes
ensure the selected node does not move on the screen when expanding and collapsing