Added emulator state checks