pass primitive values by value
update runTillError script
suppress tree printing in rare situations
minimize checks for pruning