Revert "I need to clean up the “Process Image” function because it’s ugly. Committing current files before making radical changes"

This reverts commit b07d7f5d9d091fca19a9ab9478747e8df36634ad.
Okay, removing the red button broke thumbnail display. I don’t know why. Reverted some changes.