fixed logic error in settings->samepart
Some messy debugging
Turned out to be mix-up between RmFile->dev and RmFile->disk.
TODO: remove messy debugging code and check memory leaks