GUI: improve using of swing threads
GUI: remove useless code

the menus are updated after they're shown, now
fix menu popups