Issue #106: introducing Command class; also implemented a stack of them in Editor