added adv7511 format "disconnected"
added some more error checking