Thread scanning for Mac OS X / Mach, and the start of thread exception handling.