added 'use strict' for better debugging,
zone tool draft,
small fixes/optimizations