fixed bugs, added trash.csv for deleted entries