Fixed a bug where a lot of extra network data was generated. Fixed the crash when a client disconnects.