fixed webview

app loads webpage instead of calling external browser,, cleaned up some
code