@mellowesile How do you know when/if it is time for BE? I personally think this is a question to chat through with a qualified professional and determine what long term management looks like for you, the risk of management failure, and what management means for quality of life (both for the dog, but also for you!). It sounds like you have taken that step, huge props to you!
I've worked with dogs with bite histories. Multiple and unpredictable bites is something I think is incredibly difficult to cope with for even the most experienced homes; you're looking at constant environmental management and set up, excessive muzzle use, airlocks and inability for emergency handling without potential risk. Singular bite incidences which can be predictable in trigger are a lot easier to manage by controlling the exposure to the specific trigger.
For what it's worth, I also don't think your dog bit "out of the blue" - you indicate they have well established territorial aggression within the home to non-household members (and also a general anxiety disorder for which she is medicated), she displayed discomfort (barking), and then a non-household member was in a high value co-sleeping space (assuming that your dog often spends time resting near or even on the couch with household members) and I assume your dog was free roaming? Baby gates, soft crates, x-pens, tethering, muzzles, there's a lot of steps here that are available to you, if you want them, but at the end of the day you really have to be comfortable with the lifestyle and the liability of handling your dog's needs. I hope things work out for you, and I'm really sorry that you are going through a rough time.