CONSENT AND THIRD AMENDMENT TO CREDIT AGREEMENT AND FIRST AMENDMENT TO Cash Diversion and Commitment Fee Guaranty