added hdr clamp, some prettifications