Numerous bugfixes:

1. max_pkts=-1 (aka read to end) no longer screws up buffer_size and causes segfault
2. Misalignment at start of file is fixed
3. Time stamp is now correctly reassembled