remove useless switch statement, replace with if
remove empty loop
print ReferentType calls, etc, to files->init for TYPEs that are typedef'd