add logging and override onConfigurationChanged
add logging and don't delete input or output files for now (we were deleting photos in the user's gallery)