FWIW, I now have raw subtract working on the camera, and pre/post darkframe raw writing controlled by options and available from ubasic.
The UI you suggest looks OK to me. However, it would be much better (and faster) if we could get a real control of the shutter to create directly a dark frame (i.e., without taking a pre and post raws of a given exposure...). If I remember correctly Dataghost already found a way to close (or open) the shutter during an exposure.
Anyway, if this type of control is not possible, your approach to create a dark frame is certainly useful. Of course, another solution would be to put the a cap in front of the lens!
That would be ideal. If you have a link where that was discussed, I'd appreciate it.
FWIW, what I have should just mean that 1 exposure will take longer, which is the same as if you manually took the picture and then did a darkframe shot. Of course how inconvenient that is depends on what you are doing. If you want to avoid fiddling with the options, you could script it so that the first frame has camera NR on and the required raws grabbed, and then turns those options off.
The big advantage would be to perform the dark frame subtraction at the RAW level (i.e. before the demosaicing process). This can theoretically eliminate the presence of artifacts that can appear when the dark frame is subtracted after the demosaicing process.