Changed thresholds a bit. Added filtering and gap filling.