Modify start-emulator script to exit immediately on a fatal emulator error.