New/better debug page, wip console
Simplify error.html, but include debug when enabled
Count requests, add version, special debug end function