redid the style storage, added json style store as master variable, snap to 5x5 grid