Fixed some problems in the simulated clocks.