@Vinous_Beret: the wait(1) have to be before the c_setminmax().
And he need to reset and not set the flag, that Ottawa make right.

The only thing i see is the IGNORE_MAP, remove this.