Tidy.
Change in arguments to the onSelected callback for the popup menu. Args are now (selected, deselected, state) where either or both of the first two can be undefined and the final one is an array of the currently selected state. Both of the first two args are undefined if close/cancel has been selected.
Menu example reworked to make it simpler and more obvious what's going on.