removed some printfs, depth is calculated from the image info.
added check for 32Bit image
Load the image info only when the item is requested, so we do not have to check each bmp in the beginning. If a bmp is not valid, just display a black image