Hi @gmarty! I've seen a lot of changes not related with the goal of the patch. If needed please add a bug and we can create a patch there.
It's a good idea to have only the code needed for fixing the bug, in this case the one related with the progress bar. Please remove all these changes and keep only the ones related with the bug solved with this patch.