Unref pixbuf
Connect to X only once
Change active window on icon click