Total AFK time tracking and minor fixes

- AFK kicking is now based on how long you've been AFK compared to not AFK. This means that you have to be active for a significant time to remove all the AFK time you accumulate, rather than having it all reset the moment you become active.
- Removed some old useless code that might cause problems.
- Removed useless messages about team shuffle duration if the duration is 0.