fix desktopinfo() segfaulting by trying to read nonexistent window titles