Refactored how stat polling works.
Refactored pinging and respawning.