Added new output to checkProcess and fixed usage in helper functions.

Old isError had to make assumptions that weren't universally valid. Changed output of checkProcess to include better information from the XML that could be used in a better way to programmatically check current state of the running process.