Comment
Parameter name
Streamline production of data structure
Fix problems with displaying selected datasets; improve efficiency
Move var def closer to point of use