Jet dry agent is known to cause problems with head retention (probably no off flavors). I wash my beer glasses in the dishwasher, and do feel that head is affected. In the end, I'll probably burn in hexx for doing this.
As for pulling equipment directly from the dishwasher, I would recommend no unless it's going to be used in the boil stage. My dishwasher at least always seems to have little bits of wet food and residue hanging around. Best bet is to remove from dishwasher, rinse, and spray down with some Starsan.