add GreaseMonkeys new CPU simulator and optimize it further