Fixed PID bug and moved GnuPlot temp files and images