SEVENTH AMENDMENT TO CREDIT AGREEMENT AND LENDER’S CONSENT AND WAIVER