Minor updates.

Accurate logs when processing entities in parallel (or multiple
processes)
Fixed logging bug.