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.
What is the ruling on someone who vowed to fast for two consecutive months, but failed to do so?
He is obliged to fulfill his vow by fasting for two consecutive months, but if he fails to do so then, it remains a debt on him until he either fulfills his vow, or dies. In case of his death, his guardian is supposed to fast on his behalf, or donate food from his estate in return for fasting, but if the guardian fails to do so then, it is all in the Hands of Allah.
Should the Zakah (obligatory charity) giver tell the poor recipient that this is the Zakah of his money?
No, he shouldn`t. But, the Zakah giver should make an intention in his heart that it is the Zakah of his money when paying it to the poor. And Allah Knows Best.
Are minors obliged to fast?
A male under the age of puberty isn`t required to fast, but his guardian should order him to fast if he was able to endure the hardship until being used for fasting in general. And Allah Knows Best.