Initial work to support formatted text in Label and other widgets