Issue #393: Reverting a layout does not revert.
Merge pull request #556 from quicksketch/393/layout_revert

Issue #393: Reverting a layout does not revert.