readyToExit is a qboolean so set it as a qboolean not an integer.
Reset emplacedIndex when stopping following just in case.
Removed some cruft from g_local.h
Use Q_strncpyz in g_log.c instead of manually doing it with strncpyz and clearing.
Use ARRAY_LEN macro in CalculateRanks for numteamVotingClients instead of manual size of 2.