Command stack debugger

Added a simple debugger to command-stack branch.

@radjaffo I think you have to merge this first THEN merge command-stack. Not sure tho :x: