Text this: Commutativity theorems for rings and groups with constraints on commutators