actually return error on error and check success correctly
don't load Descriptor.cap
reindent according to make indent
check return on all calls to backend_apdu()
build on mac