Fix some issues in thumbnail build progress counter.
QTime needs to be (re)started explicitly in Qt5. This meant that the rate limiter for updating the progress bar never reached its threshold value.