Replace stateful nonLeanVars list with flags in Var
Don't register vars on all lookupVar calls