accumulate dark images and save into ics file
capture-dark-images with optional n
improve speed of image-processing:.linear and .abs by giving proper type declarations

unfortunately, i have no idea how to obtain this speed up for arbitrary type combinations without writing/generating tremendous amounts of code
try to improve speed by using proper type declarations
unfortunately, i don't know how to do this and have functions that work on arbitrary datatypes