selected menu reworked to make it work with functionality provided by the NodePopup. deleted some unnessecary static stuff in NodePopup (dosent belong there) tweaked the NodePopup so that it looks for the appropriate cell itsself, adjusted drawHirerchy(...) so that it deselects lastSelected to prevent side effects