Made BEHAVE_NO_QUIT more intelligent.
Made BEHAVE_NO_QUIT more intelligent.

lddubeau/wed,mangalam-research/wed,lddubeau/wed,lddubeau/wed,slattery/wed,lddubeau/wed,slattery/wed,mangalam-research/wed,slattery/wed,mangalam-research/wed,mangalam-research/wed