Fixed: the operation state is now set correctly when an exception occurs when retrieving operation results.
Added: commandlines being run on the client are now echoed to stdout.