progress in webview sample
Add command support

Add a keyboard command for New Window, tidy up code a little bit