Fix kernel-mode executive atom implementation (mostly add SEH and tidy up the code...