Right now, in the project explorer tree, the selected node is always the currently active/opened element. To accommodate for more intricate interaction in the future, we should separate these two things.
This requires some careful handling especially with reprocessing of the tree state.