one last cosmetic fix... no need to adjust the end time, if no exposure time is provided.