Work in progress - added tone curve overlay to image preview