Removed the debug code for saving temporary monochrome images.