A more robust way to find the browser element;fixes #125
init cookies before network listeners
move disabling of storage events (from default profile) to sandbox code
Warn the user about the permanent private browsing.