Added debug config
new stack trace event
cleaned up debugger
better support for debugging in messages