Main commit #3

-Fix closing of windows
-fix reactions anymore windows
-autodeleting all windows from main menu