New Plotting code, now native using QCustomPlot
Plotting the graph with native C lib and minor fixes