Get rid of clang warnings in plAvatar.
Fix more clang warnings.