Created simple query input.
Added query tab.
Fixed some small mistakes in the query page.
Added simple query execution.
Added error checking for queries.

Fixes #55