Added undo/redo capability to clip preview editor