About issue 403

This editor was loaded after the MapContext, then it was null and cannot be used to show sql result in Toc. Now it fetch the MapContext each time the user run a bunch of sql request.
About issue #403