Territory control overlay

* Also IE9 compatibility and some minor fixes.
Added ping and ping timeout.

Finally getting rid of old users.