Add TerminateException. Fix CloudI event handling.  Add timeout_terminate and timeout_initialize.