Fixed winning move sorting.
Added unsafe map, used for move ordering and inCheck testing