new example added. window title handling corrected.