Fixed instance z so it works now as expected. But note that this should only be used for static instances(for small optical corrections). Current Pathfinder implementation can not handle it correct.

Fixed a problem with instance setLocation().

Added the layer z offset. The map loaders, savers and the editor have now support for layer z. I keep the ticket open so we can test it more and maybe we can built a map that use this new feature. refs[t:366]