Implement _XcptFilter using signal handlers, and add a couple traces.