Redesigned the stack debugger to work with a circular stack.