- more progress on MetricDetail.  Now shows correct controls depending on SourceType, and enforces that at least one category is selected, plus some other minor fixes