fix envmap appearing in UI and add option to use or not continuous mono sampling
Due to a wrong return value, the "Envmap settings" pannel was not showing in the UI when displaying a scene with an envmap.
Also, I added a boolean option "continuous_sampling" to use your recent work on this, the option is documented (main + doc). Default is discrete to avoid long rendering time by default.