Borrow headers, No "Closed" buttons, Feed+Lend

Included viewallthreads for Feed and Lend
Lend page error:
There was a SQL error: SQLSTATE[42S22]: Column not found: 1054 Unknown
column 'Thread.LenderID' in 'on clause'
Notice: Undefined variable: threads in
/home3/loztwodc/public_html/dontbeshelfish/app/View/threads/viewallthreads.php
on line 74

Warning: Invalid argument supplied for foreach() in
/home3/loztwodc/public_html/dontbeshelfish/app/View/threads/viewallthreads.php
on line 74
lend