Base plugin interface. Main window