More cleanup of wintitle script