Add a --no-mbox option to disable the use of mbox
Only set LD_LIBRARY_PATH for tor and firefox

Setting LD_LIBRARY_PATH globally could cause problems with other
programs we use.
Don't kill tor with SIGKILL

Kill it with SIGTERM, so that it can also stop its child processes.
And use waitpid to correctly end the process.