Changes sufficient so that edbrowse compiles.

With javascript disabled, it seems to run just fine,
though I haven't tested all aspects of it, but I can surf the net etc.
However, with js on, it seg faults almost immediately.
So there is much work to do.