Timeout/Event processing refactor. (Now default debug mode)