Refactor and improve progress bars, use them for CPU/PG.