minor updates to graphing stuff and mkstats