Modified Statistics printing function to print Machine address in the first line of stats file and changed stats file name to be consistent with the gui (stats_<Name>.txt)