(ThubanApplication.ShowExceptionDialog): Removed and called it show_exception_dialog() so that the exception handler can be set before the class is created.