graphics.cpp - get rid of some unused variables