Clean up unused variables and VIM directives.

Fix copyright statement.