I felt it was a bit off as well. I liked the bit where we thought Troy was going to be a maths genius, only for him to fix the sink, but they never concluded that plotline. I don't know if it was a reference to anything, though it could have been Finding Forester; where the black kid is discovered to be a literary genius by Sean Connery, who convinces him to pursue his dream rather than just taking on the menial job he's expected to.
Anyway, otherwise it was an okay enough episode. Had some laugh out loud moments ("She's the Ark of the Covenant!") and wasn't predictable or anything. Kinda had the feel of an episode from earlier in the season, though. A bit subdued and less ott or referencey.