Closing tabs.
Catching and loggin exceptions in AppWindow.