bug fix on move/nextEmpty from code cleanup; flip starting player on ties