utils.py: added function zipImported
utils.py: improve isClass, added instantiated
flags.py & grids.py: fix some divisions