CPU bugfix, emulator runs in a js worker