Improve page module; don't silently fail; refresh now also gives the error in the callback