The fallacy of work-life compartmentalization
Great posting. I think it's important to go for direct action where possible. Challenge bad workplace behaviour when it happens. Talk to people openly about bad practice. When the boss is demeaning, say straight out that it's not acceptable and ask how he would feel if the roles were reversed.
Importantly, don't forget to be friendly - especialy friendly to the nice people. Smile at everyone you meet. Ignore the assholes and find ways to quickly recover after negative encounters.
The No Asshole Rule book really helped me to deal with my current work situation - definitely recommended.