sim_cycle_timers: bugfix, modifications, other subtle/minor changes.

found critical omission...
change a few dirty hand works to use pop function.
modified code linearity.

	modified:   sim/sim_cycle_timers.c