fixes #190 Use the locktree escalator lambda function API, remove
condidtional compilation.