basecurve tool: add support for a save state, to average over several shots
basecurve tool: fixes and more checks