Refactored the filter to work also on seeds (not tested), removed
some event setup and all event dependencies.
For the debugger, also count total number of bad hits on traj.