#372 'about:blank' URL causes a NPE 

Added a condition to check for "about:blank" URLs. I have added a test case to this as well. The code formatting might be incorrect since I am using intellij(I have configured but it might give incorrect formatting).