Fix misc

* Support new api on webview fragment
* Close connection
* Delete unused code