Bug fixes; added working to_s to EntityGroup