Factor out data processing progress bar and message