emulator now has separate tick thread that is used to limit CPU speed