Network debug

Added some debug and removed superfluous output.