How is Peggy going nuts? She spends the first part of the episode feeling erased because she's not the type of woman that men take seriously as a woman, even when they pay reluctant homage to her brains and talent, and in the second part she decides to see what life would be like if she played the standard game. It might not be the healthiest response, but it hardly presages impending lunacy.