bugfix and improvement in cleaning.
 * fixed a bug in firstdrizzle cleaning
 * added a cleaning step after refimage creation.
 * several other bug fixes to ensure proper cleaning