getcharacters: use stringbuilder, set tag modfied when it was moved