fix a few clang 3.3 warnings

it complained about some unused fields and methods. Since these might
be useful for debugging purposes, I just commented and '#if 0'-ed them.