demo: Use loadCommitted to set the address bar

This gives a more "browser like" behaviour. I think it's because before
a load is committed webkit still changes the uri of the load, i.e. when
redirects happen.