Added a rudimentary debugger that still needs lots of work