plugins extended with mainWindow field