Added and tested the timing control to the main window.