Reorganize debugger code, awful scrolling