Ran gofmt and replace some printlns with fmt.Println.