Added more verbose packet-output; updated from dispatch-callback to a simple while/next loop.