fix blunder in variable name, that was #def'd out
move printhexstring to useful.c