Corrected errors resulting from run-time checks in subset of files.

Many files wouldn't build with -check all -warn all, so those
don't have the checks yet.  These will be added incrementally
in subsequent commits.