Added error handling and fixed progress value

Exposed web view errors via the listener. Also added a minor fix for the progress value.