Fixed the 'throw' command to throw the exception in the emulation thread. Added warning in the 'stop' command if the CPU is not running.