tty now kills self on unload
a little more lambdas