Removed unwanted codes
Removed various unreferenced variables as reported by compiler
Merge branch 'master' of https://github.com/DynamoDS/Dynamo into Misc
Merge pull request #1869 from Benglin/Misc

Removed unwanted codes