query parser now propperly handles nexting queries.
Updated how html display code.