(enter): use GString instead of hand-made memory (re)allocation.