implemented debugmenu/removed unused imports