Move error checking task generation to nbl/check.str