Team command fix. Cleanup of AutoBalancer and CheckTeamStatus.