Fix sanity checks in G_RGSCalculateRate and G_RGSInformNeighbors.
Use conventional identation in bg_parse.c.
Transform PERS_ATTACKER into PERS_TEAM and use playerState_t.persistant[ PERS_TEAM ] instead of clientPersistant_t.teamSelection.
Use playerState_t.persistant[ PERS_TEAM ] instead of playerState_t.stats[ STAT_TEAM ].
Merge PERS_SPAWNS and PERS_QUEUEPOS into PERS_SPAWNQUEUE.
Dissipate stages into individual item thresholds.

Stages are still functional but don't have a gameplay effect.
Fix function name references inside error messages in bg_teamprogress.c.
Remove team stages.

Stage sensors still work and assume 100 confidence is a stage.
Print a summary instead of individual lines when multiple items are (un)locked at the same time.
Fix formatting of item (un)lock messages.
Display confidence as a bar with markers for item thresholds.
Simplify (and fix) BG_IterateConfidenceThresholds.
Fix display of score and alternative HUDs.
Allow vertical placement of confidence bar.
Draw human confidence bar below health and the alien one inside the charge bar.
Don't separate confidence by type. Move confidence functions to g_confidence.c.
Display confidence events on the confidence bar.
Calculate unlockable status and masks immediately when necessary.
Tidy up team refs in CalculateRansk.
Tidy up g_confidence.c: Add confidence modification handler.