Added logging.
Added page count to "completed" dialog.
Fixed a bug that prevented the last page from being detected on full
updates.
Added "show log" dialog.