Save less stuff after pagerank

- history is optional
- don't output pageranks if already available