Ticket #3065: making EV2 interact with the mouse (other bugs not fixed yet)

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@25536 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Committing Simon's "ugly" code (because it is good enough IMHO) + beautifying debug messages

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