MainWindow: Update execute query table view when no results returned

Also update the table view widget and the status message in the Execute
Query tab of the main window when the query was valid but returned no
results.

Fixes #38.