Added loading icon when changing pages.
Added more information about the error when the page fails to load.