go fmt, tweaks to logging