Do not display the selector if there is no tool.
Add undo/redo for layer manipulation.