Compare images in tiles. Store the results in the database. Unify progress display. Various other fixes.