Fixed broken document modified indicator on Mac OS X.