Updated with messages about gh_write and scm_internal_stack_catch.