mapper work

-took out all temp values
-cleaned code
-added pageMode-edit define and conditionals
-changed some tooltips
-added button to toggle edit overlay mode
-fixed preserved rotation issue not keeping after save