redirected the debug statements to the textbox to temporarily solve the unity web browser interference problem