Various toString, logging and safety improvements.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
Fix for issue #8, DNS settings have moved.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>