fixed bugs with WebBrowser and Image