Fixed mapping of html extension

also added debugging info to the page updates so we can see why there was a page update (error, unknown type, or real one)