Write it down if you have to burn it after but I don't think you should thank her for anything.
Don't forget CodeMaster you chose to stay with someone who treated you that way. Why don't you thank yourself and your HP for learning the things you have learned? Be thankful you aren't in that place anymore, that you chose to get out of it.
Ngaire