fixes #1395
fixes #1391
fixes subtle interaction between closures and 'yield'
'[]' for crit bit trees doesn't need the 'var' parameter
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel