Rename layout interfaces.
Move factories into CommandExecutor.
Add max size to undo/redo logs.
Rename local.
Remove extra whitespace.