Synchronous operations

Wait for an operation to finish before returning. Also, accept multiple stacks to the `--stack` argument.