removing a bunch of unused variable declarations in code transformer
adding a comment plus minor change to usage of a variable
removing unused code + minor reformatting