Add configurable limits to judge; make judge more tolerable of empty strings