FIX: segmentation fault when closing unitialized pcap handle.
Use same timestamp when comparing the filters.

Handle return value 'WRDE_BADCHAR' from wordexp.