#392 Have layouts undoing and redoing in a reasonable and simple fashion. The force layout is currently disrupted due to some of the changes I made, but everything is working so well otherwise that I really want to commit. Will fix force thereafter.