Debugger fixes

Its now finally stable, yay!