Added names to groups.
Added group column.
Added some logging.