Added fading to Cocoa display mode setting.
Formatting.