Fixed bugs in mapCallback() & tfCallback() which propegated bad data along. Identifies groups but also misidentify other objects as groups. Messy, needs clean up