Cleanups and move to python3.

Still having trouble with pyshark. It's got a broken queue somewhere;
the packets don't come out of the pipe right away. Very annoying, still
need to investigate.