->setDebug() for main window class, little correction for AdminItem