QuickClean.py

Fixed bugs in QucikClean and made it generic.