Fixed CPU state/cycle stuff.