test blendings
better premultiplied detection
refixed blending and some compile flags