Fix some more coverity issues.
Merge branch 'develop' of https://github.com/adaptivecomputing/torque into develop