Add some progress while processing an image.

Proessing a largish image (like the Aligment2.png) takes quite a
while on a slower machine. This causes the progress output to be
displayed on the GUI.