* added zipfile query command to logdb
 * fixed textfile file handle leak
 * logdb.queries command now print ordered query list (sort by id)