Added the option to WAIT_FOR_CONFIRMS_AFTER_WIN.  This is untested code.