Merge pull request #79 from mwhite/prep

itemset prep
factor out common code in duplicate code
decouple widget UI and widget model
fix issue when multimedia config is missing