Added support for empty text

Fixed background color issues