UIWebView fixes.

Better fallback for "loading content" when ajax fails.  If the ready state is 4 and the status code is not 200, clear the mask.