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 it permissible to make up for missed fast after the beginning of the second half of the month of Sha`ban (the month before Ramadan)?
Yes, it is permissible, but one who had missed fasts should hasten to make up for them. As for the Hadith mentioned in this regard, the prohibition is for offering absolute voluntary fasting. And Allah Knows Best.
Is it permissible to trim the eyebrows if they become excessively long?
Trimming eyebrows is permissible if they become excessively long, yet; it is reprehensible. And Allah Knows Best.
How are gaps filled during congregational prayer?
A praying person is allowed to take two steps in order to fill the gap in the row ahead. If the distance was long and requires much movement, then it is impermissible for one to move to fill it because much consecutive movement (three movements) during prayer invalidates it.