May models menu

created a may models menu in MID context menu.
Made some new listeners, made minor changes to old listeners for slightly different functionality.
The refinement stuff and the decision tree stuff are pretty much independent, aren't they? Maybe it'd be better to split this pull request into two.