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.
Is supplicating in Qunoot, at times of affliction, during obligatory and voluntary prayer a Sunnah, and should it be done before Rukoo` (bowing), or after it?
At times of affliction, it is a Sunnah that Muslims supplicate in Qunoot after the final Rukoo` of each obligatory, or voluntary prayer as individuals, or in congregation.
Is performing Umrah an obligation for who is capable. Is he accountable for not performing it in this case?
Umrah is an obligation once in a lifetime for every Muslim. When physical and financial ability is present, it is preferable to perform Umrah, as well as Hajj. If one can afford to perform Umrah but not Hajj, then they should begin with Umrah, especially since Hajj nowadays is not accessible to everyone who wishes to perform it. In contrast, Umrah is more open and easier to undertake. And Allah knows best.
What should one who forgot to offer the second Sajda during congregational prayer, and remembered it before the end of the prayer do?
All perfect praise be to Allah, The Lord of The Worlds. Whoever forgets a pillar of prayer while in congregation must follow the lead of the Imam, and after the latter offers Tasleem, he should offer one Rakah, then perform Sujood As-Sahw (prostration of forgetfulness). And Allah Knows Best.