Mostly fix moveiter

This is still really ugly and isn't quite fixed since you can have >10 position
which overlaps with the scoring.
Fix moveiter ondemand mode

Let's so something less principled but much easier to code.
Use moveiter ondemand in search

This appears to be a slight win, and can prob be made much more clever.