multiselect has addActiveSelection function.  refactored main.js to be a more consistent bootstrapping and app setup phase