Implemented msvcrt exception handlers