Added Simulation thread pause/resume from main.