Better error handling when backup files are broken.
Fixed checkpointing. Added progress reporter.