disk io per process, and a few bug fixes