do not render first selection until after creating menu elements; it will be incorrect before then
handle labels and indexes correctly in multiselection mode. also sanity check to not add same selections multiple times
fix warning when removing last selection from a multiple element