Use improvement compared to last n runs as stopping criterion.
Rename optTol to tolerance in PQN for unified names.