moving some more globals into the atl env structure. remove outside access to atl__token.