Networking now makes sure that whole "packet" has arrived before processing. Also little cleanups here and there