THIRD AMENDMENT TO CREDIT AGREEMENT AND FIRST AMENDMENT TO AMENDED AND RESTATED REVOLVING NOTE