Added option to filter processes

This fixes issue #33