Text this: On commuting elements of groups acting on trees