close window from URL and better systray menu