Dana P. Whitmer named principal at Mechanicsburg