made debugger
fixed minor errors with debugger interface