Improved the WebChromeClient handling which fixes issue-456
Minor refactoring in getCurrentWebChromeClient
Added exception handling in getCurrentWebChromeClient