Better error handling.

No longer need to check proc.errorStatus