Batch: handle indexed meshes better; see #19
Batch: properly lock meshes before reading; see #19