Added new location choice, "Preferred".
This variant keeps track of a double for each pixel, then selects the next pixel according to which has the highest value.

Also, added a merge.sh script for remembering the ffmpeg lines to add an overlay/audio.