finish of histogram scaling; add *_tmp.root suffix to intermediate files; pep-8; move get nevents to a single file op; other stuff;