Zero filters before use.
Begin checking return of mallocs for NULL.