Added remove of tree selection on new selection addition and removed con...

...sole statements. fixes #727