Finished a simple (slow) implementation of packet tracing. Bugs were fixed!