Added some changes that I had laying around.
- Reconnect to the DB when connection is lost.
- Check if some needed DIRs are OK.
Added some more info the install process
Adds pcap filename to stats file when processing pcaps with -r option.