Fixed bug when devices were shown multiple times in the device-list.
Improved performance for audio/video thumbnails.