Improve error handling
Add coreMessage, die to EmuThread, propagate msgboxf to coreMessage