Fixing some compile errors

Had to remove and re-add the wpf charting toolkit nuget packages, and
trivially modify a few lines of code
Adding in a few comments. The UI and console projects needs commenting