Demo use of error and progress handler

This appears to be broken - progress indicator is only shown on initial
load, although the progress callback function is properly called.