Switch from kCTForegroundColorAttributeName to NSForegroundColorAttributeName because NSColor is NSCoding-compliant and CTForegroundColor isn't. Avoids encoding/decoding crashers.