Add some progress meassuring logging.
Use qint64 rather than int64_t.