added debug textbox
merged changes from master: added debug box