bug fix: adding external lambdas to done set
wip: simple examples start working again
added emit_thorin(Scope, ...)