change the default values of 'plotflag2' and 'rawon' to keep the previous features of
output the raw data and overlaid image, but should create the controls for them
on the gui of the advanced output.