remove empty lines in the device index side menu
simplified rendering of text device data
Also removed necessary whitespace