Test added for Eng (*) N1 Min For 5 Sec - extend_window found necessary to make the test run, and test plot code added to second_window to see  what was going on.