Although many mortgage banking companies lost money last year, the Mortgage Bankers Association remained in the black.