more detailed cache statistics
move to trash on delete
fix some file handling issues