Fixed blank TOC
Added cols argument to curses reader.