Previously the players in the statboard were sorted by client ID. They are now sorted by team and then client ID. The local / spectated player is always shown in the first position. The team of the local / spectated player will be shown first.
Red and blue team headers similar to those in the scoreboard are added. I think left-aligning the title text looks better than centering it. This would also allow to show summary statistics for each team in the free space (e.g. K:D of the entire team...