Improve scan stats.
Add option to make EPS format.