Read a complete packet (of at least 20 lines) instead of just blindly 20 lines
Reformatting pretty output
Better error reporting when parsing string to P1Packet