Revert "Change to Frame to display actual error when something happens in loading a page."

This reverts commit 17764a94fb1e2aaa637fb2b2267809efa998fa14.
Added code to display error in frame