added empty prompt and loading progress bar.