calculating group energy, displaying the eye, and recording the last sent glance