improve window title grabbing.
improve window title grabbing.

rstr74/blessed,chjj/blessed,mcanthony/blessed,umi/blessed,eush77/blessed,mcanthony/blessed,dbkaplun/blessed,piranna/blessed,rosshinkley/blessed,dbkaplun/blessed,piranna/blessed,rstr74/blessed,umi/blessed,anko/blessed,rosshinkley/blessed,eush77/blessed,chjj/blessed,anko/blessed,gdseller/blessed,zBMNForks/blessed,zBMNForks/blessed,gdseller/blessed