Improving network crash error message. Fixing log output. Adding comments.