more progress on translate_one() in translate.c and cleanup of other files