Major refactor: now includes menu with options to select, unselect, or toggle selection.