improve nEventsMax
collapse summary print
implement some options
env
more options