Port to dogeweb.
Fix JSON errors.
Remove a couple of unused constants.
Merge core and admin.
Remove a redundant forward-declaration.

A long time ago, dg did not have a variable scanner...