First iteration on updating the window URL after state transitions.