* const
* reduced scope + const
* added ScopedCommand and use in the hud code to ensure that the begin-end commands are always executed
* fixed typo
* introduced actionType_t and removed HUD_SwitchFiremodeList_f

* the hud_switchfiremodelist console command was not used in any hud
* fixed potential segfault in HUD_DisplayActions_f and cleanup in HUD_DisplayFiremodes_f
* cleanup in hud code

* const
* reduced scope
* reduced cyclic complexity
* don't use va() here, it's used in GAME_LoadTeam, too and overwrites the buffer for the filename
* first cleanup to get rid of the per-frame-hud-update calls
* only call HUD_RefreshButtons if the old and the new values in the cvar listeners differ
* removed HUD_UpdateAllActors and call HUD_UpdateActorStats in CL_ActorStats
* removed popup_soldier_hovered to be able to get rid of the cvarPrefix hack

* we have to remove the va() calls from the hud update functions, because it's not thread safe and causes problems
* use Cvar_SetValue to get rid of a lot of va() calls in the hud code
* introduced CL_ActorGetFromCharacter
* const
* get rid of the console flodding in developer mode when a hud is active
* fixed bug #4855 (using an empty hand needs <ESC> to get mouse back)