Added NetworkDebug.
Cleaned up comments.