Private equity, M&A and litigation boomed. But the brain drain threat looms.