Another of those things you've been wondering. . . .
A WHILE vs. AWHILE? Rule of thumb: If you’re using a preposition (those words like: for, in, after) you want to use the two words. Example: “I will sit on the train tracks for a while.” Used as an adverb, write the one word form. Example: “I thought about it awhile, and went home
before the train arrived.”