fix score cp
fix a nasty UB
optimized and unoptmized compiles had completely different node counts, as a result of nasty
optimizations based on this UB...
detect draw in search