Add stop function. Trying to implement a different playing behaviour with a direct connection to the SubWindow class