fixed tp_accnames bug, closes #277
convert input names to character just in case user passes in factor class, closes #276
fixed bug in gnr_resolve