Made castling, pawn upgrading;simpler isMated