overflow of optionsPanel; styles of optionsPanel; avoid nullPointerException

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@37082 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
#4642 - fix - stop the propagation of the -selecting tool from the submenu- event

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