Display a progress bar while preloading.