Add missing return.
Simplify constant null values.
Shorten sample loading code.
Always add fields to hole configuration.
Remove short-circuiting for checkResult.

No need to short circuit, and this way the result will always have the
trim applied, even if exitStatus was non-zero.
Consolidate code for juding images with/without constants.
Remove unnecessary checkResult method.
Further consolidate logic between constant/constant-free holes.
Remove now unnecessary executeAndJudge function.