MGIC boosts revenue, raises capital in Q1

Mortgage insurer struggles to keep ratings