Is prayer nullified by having thoughts while performing it?
Prayer isn`t nullified by having thoughts while performing it, provided that the praying person offers all of its pillars and meets all of its conditions. However, the reward decreases significantly in the absence of reverence since a praying person is rewarded according to the attentiveness of his/her heart during prayer.
I made a vow "If the Israeli troops retreated out of Gaza strip I will buy a cake from a certain bakery" and it happened. Am I obliged to buy from the same bakery?
You are obliged to buy from the same bakery. And Allah Knows Best.
What is the ruling on making up for missed fasting after the second half of Sha`ban (the month before Ramadhaan)?
One is obliged to make up for missed fasting before the start of next Ramadhaan, and regardless of offering it during the first, or the second half of Shab`an. This is because the prohibition mentioned in the Hadith is for offering absolute voluntary fasting in the second half of Sha`ban. And Allah Knows Best.
After I had prayed, I found a drop of menstrual blood and was unsure when that happened; what is the ruling on my prayer and fast?
All praise is due to Allah, peace and blessing be upon the Messenger of Allah.
Your prayer and fast are correct ,and you should not make up for them, and we ask Allah, The Almighty, to duely reward you for these acts of worship. Your menses start once you see blood because the situation remains as such unless there is certainty or predominant conjecture, as per the Fiqh maxim: "Certainty is not removed by doubt". And Allah Knows Best.