[PATCH imagefactory 02/13] Remove a bunch of debugging code.