Cleanup of multi-selection, added script documentation.