I'm not going to pardon the X-Men or say that how they treated her was right but that was what Marvel wanted for the character. Thankfully, she's over being "crazy ex-girlfriend" and back to being Emma. She'll be featured in a few books and there are still current writers interested in writing her so don't lose hope.