Record last window titles