until that moment , ralph had never thought much about how eerily human the expressions and body language of dogs were : they grinned when they were happy , hung their heads when they were ashamed registered anxiety in their eyes and tension in the set of their shoulders-all things that people did .