Refactor message publishing, fix bug that tried to create duplicate windows
Refactor message publishing, fix bug that tried to create duplicate windows

owennw/OpenFinD3FC,ScottLogic/bitflux-openfin,owennw/OpenFinD3FC,ScottLogic/StockFlux,ScottLogic/StockFlux,ScottLogic/bitflux-openfin