Add the infra to get progress updates for all operations.

No gui for the moment, all the progress are just printed out.
Formatting: no spaces around functions parameters
Formatting: private object names should start with an underscore
Fix: stop the queue timer on shutdown
Merge pull request #2 from DaveMDS/master

Infra for progress report + some small formatting fixes