improve trash handling, split out fileexist check, add restore, add move, other bugfixes
rename default variable, update dependencies