Fixed reported issue: (#64) Redo stack is not cleared