Generalized team map
Fixed processed team map not adding teams correctly
Various fixes to make splint happy
Set TZ environment variable