Moved 16-bit calls initialization and exception handling to kernel32.