allow passing multiple sample file directories to training scripts
decrease random filename collision in collection script
report empty files and delete files with problems in training scripts
fix a couple renaming-inspired bugs in training scripts