move token buffer variables into atl__env structure