throw error when page is loaded without preloading

Rather than fail silently, this makes it easier to see what page you forgot to add to the preloadPages call.