Added a ProgressBar, and implemented it in the HDR function, just to
test it.
If it works OK, must adapt GUI, and also display it.