Added Debug tab and a text box