Would it be possible to change the membership group listing to (additionally):
1. Count the number of groups, then:
a. If under a threshold (to be determined), display the way it does now
b. If over the threshold, sort the array, then display one group per line
2. Adjust the AD (LDAP) lookup for the membership groups to allow for commas in the group names (common in my AD setup at least).
I have some working code for another AD tool I use (pseudocode attached as reference, sorry for the bad coding).
Not a high priority, but easier to read when there's a large number of groups. I've already updated my inc/infoutils.php on lines 195-201 as:
msg('You are currently logged in as '.$_SERVER['REMOTE_USER'].' ('.$INFO['userinfo']['name'].')',0);
msg('You are part of the groups '.join($INFO['userinfo']['grps'],',<br> '),0);
msg('You are currently not logged in',0);
If this is better suited for a plugin, let me know.