Renamed variables and outlets.
Replaced NSTextStorage with NSMutableAttributedString.