Removed some unused variables
Removed some unused private functions
More unused variables in services.ts
harness cleanup
Merge pull request #1103 from DickvdBrink/unused-vars

Removed some unused variables