Fixed PID bug and moced GnuPlot temp files and images