Reading label of selected node

A note to self, more than anything. Need the label for a function of mine later.