Add multichannel image support.  Add periodic saving of datasets metadata