Added global the_main_context; caml_signal_handlers: cloned for non-main contexts.