Clean up asmcode_x86.S
Try to fix most emuthread termination issues
Add the On key

-Including IRQ