sort and depth bug fixes + BMP SVG without thumbs