some tweaks to folding module.

reduce number of calls to getline() in main and texttile foldexpr
functions
limit some lookbehinds