Improve click handling

Fix right click to delete not really working properly

Use different cursors depending on edit mode

Simplify some code

(0) -300 -100 -30 -10 -4 +4 +10 +30 tip

mercurial