Added AutoSave Log Setting

Allows to write the logfile automatically after stopping the profiler.