I have not been following the discussion here, but wished to point out (if no one else has) that Rabbi Berger's explanation that there is no obligation to give thanks in return for a miracle that enables one to perform a mitzvah is to be found in the Maharal's Ner Mitzvah. Dovid Hojda