Optimized code to only request each avatar once.

Commented files a little more.