Those situations where Talaaq does not take place

Husband saying "I will divorce you"

Q: Me and my husband had an argument and he said to me that you will get divorce from me, I will divorce you. I said that you just divorced me and he said that next time I will say it three times in one breath. Last week he said to me that I will divorce you. Is this divorce valid or not because after that he calmed down and he said that I haven't divorced you. What should I do?

Will telling one's wife "here's your keys bye bye" constitute divorce?

Q: One time me and my wife were arguing because she kept accusing me of loving another woman which was not true so I got angry and said "here's your house keys and your car keys bye bye". I was angry and I left the house. I wanted to go to my family's house but after walking about 10 minutes I said to myself "why are you going to your family's house just go back home" then I walked back to my wife's house and we said sorry to each other. Is this divorce because I didn't know what was my intention at that time but I didn't want to say talaaq. So I think I was just angry but I am having waswas thinking what was my intention at that time when I said these words. I think I was only upset with her accusations and wanted her to stop. 

Uttering the word divorce without addressing the wife

Q: If a man utters the word "divorce" not for the purpose of his wife's divorce neither was he addressing her at a time when it was uttered. However when it was uttered a thought of his wife came in his mind. Will it constitute divorce ? It was uttered without any purpose. He was not addressing his wife. He had no intention of referring it to his wife. However when it was uttered a thought of his wife occurred in his mind in a flash and disappeared. Now he is worried.