Bug fixes found by turning on -W with closure compiler.

Curious that the compiler did not warn about this at all without -W.
A few fixes:

1. use -W when compiling with the closure compiler
2. reword the zone so we can easily create new, independent zones
   (see the new makeZone) function
3. the zone package internally has no global variables anymore