Rearrange AI targeting method. Still buggy.
Typo fix in board selector