resetperms: optimizations
lizmap
lizmap is mostly finished