Fixed the team changing menu when loaded on dedicated servers.
More tweaks to the ai.