added debug textbox