lambdas now know about themselves, and fixed some other dumb bugs