Add support for time control from the lessons window

Still needs some thinging about re restarting simulation after it has hit the time barrier.