...
Start work on image editor
Refactor selection state tracking into its own class