AMENDED AND RESTATED CREDIT AND WAREHOUSE AGREEMENT (UBS AG, Stamford Branch – MCG Capital Corporation)