Replace pet by avatar is some log
Simplify loop (C++11 style)
Add missing include SimpleTruthValue.h