Fixed crash on nonexistent pages.

Also disables ToC for nonexistent pages (and on network error)
Also seems to fix the grey bar appearing when tapping during error or
loading.

Bug: 62639
Change-Id: Id357b37134bd288f02ae1f53c38ab7a84b2979b5
Merge "Fixed crash on nonexistent pages."