When quitting the application the taskbar object was deleted by the MainWindow destructor then its reference accessed by MdiArea.
Search options are always displayed.