Added support for debug messages during interactive mode. Need to get then tabs box to expand arounf them.