add option to not run eagerly
very rough working version of image reprocessing
added comments and did a little refactoring. not sure if it is actually any clearer though