fix BatchMain (need to actually read the program text)
write a "failure report" with test output of failing submissions

this is sent to System.err so it can be captured separately
from the results.