Don't use a list to check for oddness.
Simplify manual autoteam logic.
Trivial path segment caching cleanup.
Make the skinning code less hilariously repetative.