Indentation now tabs, onBeforeUnload defined

Now alerts the user if navigating via an actor to a URL without
‘webapps’