Fixing logging empty strings as errors.
Changing color of device name when printing device stats.