Improvements on exception-handling. Allows relating software interrupts (signals) to exceptions, handling signals in Prolog and C (see on_signal3 and PL_signal). Prolog stack overflows now raise the resource_error exception and thus can be handled in Prolog using catch3.