I made a few improvments to the StaticText class.