Batch creator can now shuffle batch. Also simplified thumbnail creation.
Simplify write-preds operation