Clean up logging.
Handle when label text is empty (Windows).

When the label text is empty, the size was zero, which was causing an
invalid texture error.  Now we measure the height of the text and make
the width be 1 pixel.