Added possibility to define CLEAN to have clean quit.