proposed new window title script basis

stub of new workflow, should be cleaner, less error prone and do fewer
DOM passes