Fixed graphing so it graphs properly. Now proceeding to write to ini file.