Add support for autodarks

Very useful for short exposures, where the data transfer time is
orders of magnitude larger than the actual exposure.