no need to set state to finish if an error is detected / small fix to function sig call
no need to set state to finish if an error is detected / small fix to function sig call

rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes