(Event.get_handle_referents): Work around possible None for witness. * src/plugins/Check.py (check_source_references): Add checking routine to detect and remove dangling source references. svn: r4896