Added level and threshold sliders, various improvements