change BrowserMainWindow base class