Addressed code review comments.

- Fixed error messages
- Formatted ping server error lines to be more readable.