more pep8-friendly, and log calls to GetNodes() as well for troubleshooting database...