Ticket #4045: only set toolbar id if there is a toolbar (avoiding bug)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@31484 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
* ensure points have no segments with same orientation (cut)
* when U-turn/same point, set orientation to nextPoint orientation

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@31485 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Undo-redo works well on desktop again. (There were problem e.g. at circle.) (#4041)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@31486 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Comment

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@31487 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e