Minor changes to Lambda list functions, and history handling in the repl