fix extra emit
Merge branch 'master' of github.com:mgaut72/phiMessage
switched to defaultdict, don't need to check for empty