In several places the dialogue refers to the disobedient commanding officer's reporting senior as a CO or commanding officer. The reporting senior of the CO of a ship is not a "commanding officer" but rather a division commander or a squadron commander, commonly called a commodore.
Harm tells Mac that the PFC's psychotherapist/patient privilege ended when he died. That simply isn't true. Only the representative of a deceased person's estate can waive the privilege.