Chess: bugfixes, more elegant possibleNexts code