Some progress on TextItem implementation