The BEST revision of the sentence is:
D Because she'd just eaten a bowl of corn flakes, Ms. Frazzle, while swimming in the pool, got a sudden side cramp and had to be rescued by the lifeguard.
This option includes the necessary commas to properly separate the clauses, improving clarity and grammatical correctness.