Fixed some exit bad calls, and dropped privileges before launching the d...

...efault browser

Don't know if this works yet, but since this function is already used on ec_main the distros using only root shouldn't complain at all this way :)