Simulator Thread control fixed