identify interface; cleanups and refactoring; prescaled renamed to downscaled; added total_images_downscaled stat