Remove unused variables

A few unused constants and variables were in the code. Removed them for a more clean compile.