added MIN_READ_LEN_LEFT (for after NM trimming); removed CL options for
environment settings