Added detrend checkbox and breakpoints textbox.