Fix broken references to AForge and protobuf by adding nuget references.
Reduce warnings by fixing XML docs and removing some dead code.