simplification in execCommand
fail when exitcode is nonzero

Closes #16
better traceability in optimize
optimizePads: recovert the intermediate BPM

Closes #17