modify tsh for communication between sim-qt and this.