mapper work

-fixed preserve rotation issue
--timing issue, so I store prev working index until it is used by adding overlay
-fixed bug where on click of overlay would not allow edit
-fixed issues where cis rect would not del on click
-redesigned and streamlined editing overlay functions
-better zindex support
-cleaned code/comments
-added on overlay click open manage overlay tab
-cleaned c# code
-integrated marks changes
-converted arrays to lists