AMENDMENT NO. 3 TO CREDIT AGREEMENT AND CONSENT AND WAIVER NO. 1 TO DEBENTURE