improve the argbuilder
do not close standard io
integrate the argbuilder into the monitor