LOAN AGREEMENT between KBS LIMITED PARTNERSHIP and WELLS FARGO BANK, NATIONAL ASSOCIATION Entered into as of July 24, 2007