The flashback scenes are from an unaired season 6 episode, "The Gang Gets Successful."
The box of donuts Mac is eating in the confessional is from Dads Bakery in Burbank CA.
Aired on Danny DeVito's 67th birthday.
The couple in the bar that Dee tries to tell the joke to are married in real life.