Fixed the emulator bug. Wooooo!