Undo/redo operations no longer leaves empty tile stacks.  Fixes #15.