This would cause bugs when newtab on middle-click is implemented, since creating a new tab creates also a new view, but doesn't change the current tab to that view. refreshView' would then update that view with the information from the wrong tab.
This restructures large parts of the GUI-wise error handling code and makes it more fine-grained, so the user can react appropriately to exceptions.