Adds some error checking, and better error handling when in UI mode
Adds some error checking, and better error handling when in UI mode

sterlingbaldwin/acme_workflow,sterlingbaldwin/acme_workflow,sterlingbaldwin/acme_workflow