Use different cursors depending on edit mode

Simplify some code

Fixed ModelId being used to identify both models and elements, added ElementId to identify elements

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

mercurial