Catches Procedo errors and still send 500 error in response. Fixes #210.
Changes default active_list tmp dir for prod/test modes