So, you think she did things that would clearly make her the lead suspect in order to keep from testifying 3 years later?
Oh no, they were claims. In the defense's opening statement they said it was a drowning that Casey's father decided to cover up after Casey panicked, and they claimed Casey's father had molested her as a child, and they said they would prove these things durning the trial. Thse weren't mere, "what ifs".
As for your argument that "testifying before the bench" would not have been allowed, what you aren't getting is that at that point in the trial it wasn't seen as improper becauase opening statements can and often do state such claims with the understanding/promise that evidence/testimony will be provided by an actual witness who is able to corroborate those claims. As such, at that point in the trial there was no reason for the judge to shut the attorney down because the expectation was that the attorney will follow through with the promised evidence/testimony that he believes corroborates the claim. Where it is improper is when the trial winds down and the defense never actually followed through, meaning they never presented the actual testimony of the witness, and therefore the jury is left only with a second party claim from the attorney in lieu of the first party testimony.