Fix "Hide Nodes" command handler activation
Remove unused imports