added queue to check new msgs for gui (#31)