Added listeners and methods to react to gang and unit changes.