_WINFGWINDOW returns the title of the foreground window. (This may or may not be the Take Command or TCC-RT console window.)