Miscellaneous updates, fixed isLegalMoveForRook