Original: These and other behaviors were exceptional for a woman of the early and mid-19th century, when social codes—especially in the upper classes—were of the utmost importance.
Simplified: These and other behaviors were exceptional for a woman of the early and mid-19th century, when social codes—especially in the upper classes—were very important.