Integrated new network code.
Fixed timeout bug.
Networking completed.