Fixed threading and timing, allow reading pcap from file