Changed Prog_TriggerState to TriggerState and Prog_PriorTriggerState to PriorTriggerState since they're used by the firing mode also