More exception and context switching work. Exceptions now work properly.
Update example and make syscalls not bring down the system.