Tested small images which weren't processed and large images which were processed. Logged the contents of `selection`, `processedMedia`, and `urisToBeDisposed`. When I commented out the `unlink` line (159), I was able to open all of the images in Finder. When I uncommented the `unlink` line, all of the images were inaccessible because they'd been removed:
{F519777}
Before:
{F519779}
After:
{F519780}