Added another hook to insert stuff before the result table.
Added some buttons for browsing results by setting the limit and submitting the form via JacaScript.
Labels of the result table are now displayed correctly when selecting "use formatted strings