THIRD AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 5, 2018 among MAIN STREET CAPITAL CORPORATION as Borrower, the Guarantors Party Hereto, the Lenders Party Hereto and BRANCH BANKING AND TRUST COMPANY, as Administrative Agent and BB&T...