HTML stuff updated to fix bug with multiple selections.