some refactoring of node list panel related code and prepare viewer to
show selections