Finished the bulk of the new packet system.