Fixed a bug where qgrep will not correctly search the last line of a file.  Added internal Lua API docstrings.