Changed some odd debugger code