Added playback using Undo/Redo stack in Ace editor