Remove excess parens around lambdas.

Also have record toggle take a function that sets the title.