Fix stop command

The STOP command was broken by TWS 944, which changed the structure of the TWS File menu.

This enhancement removes the dependency on knowing the menu structure.