gofmt and performance optimizations

- performance optimisations (dropped from 457 ms to 360 ms on my MBP)
- gofmt the PGo.go file