Added Edit Mode toggle.