Add support for automatically generated alternate tray image on OS X.

Enable highlight mode on OS X for a more native experience.
Minor formatting consistency improvements.