fixed the tests
fixed the client-side fog of war (more UI isolation)
removed the "no unit defined" warning; fixed some minor errors