added textbox to view and set texture threshhold