I think this is actually a time stamp for when flush mode began - and you are using it to calculate total flush mode elapsed time. I would add the word "Start" to the end of the variable name and clarify the comment. stateTimer below is likely also a starting time - so same comment.
Why not zero record here? I see it is zeroed just prior to creation at end of treatment, but that means this record may have prior treatment's data until current treatment is over.
Agreed - I don't want them to have to guess the type. At the time the dropdown was really a backup option in case the type hints approach wasn't feasible. Currently in a difference branch I'm in the process of upgrading the service app to provide type hints for each command to make it easier for the user.