Finalization of Text routines and insertword functions