#3753: allow If[false,x,3], If[true,3,x]

git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@30099 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
Ticket #3841: more null pointer checks (paranoid), but not enough

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