Extracted the node selection behavior into its own file
More slight refactoring. Also tweaked some styling again.