Added progress dialog.

A progress dialog has been added to let the user know that images are being loaded.