Adjustments and code organization, lots of testing remains between simplehandler and establishing chat channel without opening a gui.