factor out common code in duplicate code
decouple widget UI and widget model
fix issue when multimedia config is missing
Merge pull request #80 from mwhite/prep

more prep for itemset UI work