Remove debug print
Enable undo/redo

Fixes gh-1