Add the infra to get progress updates for all operations.

No gui for the moment, all the progress are just printed out.