MainWindow: Show execution time in SQL tab

Show the time needed for executing a statement in the result box.

Generally fix some minor problems with the result view.