cleanup plus magic number reduction, making difference image color coded