- MyDocument.xib produced a crash wehn decoding where the NSSplitView is observing it's children, particularly the WebView. Fixed by rebuilding the xib. - Conversion to ARC created a cycle between EditPaneTextView and it's EditPaneLayoutManager instance variable; fix with a weak references, which requires targeting 10.7. - MyDocument had a cyle with it's NSTimer; this most likely was a leak under GC also, as the timer would pin the document in memory beyond the window close. - removeObserver: was being called on NSUserDefaultsController, which isn't a valid selector; most likely the NSTimer leak was preventing this from causing a crash. Replace with removing specific KVO observers.
…ed. This fixed the issues with view not updating at appropriate time when using foreign IMEs, such as Japanese.
…perly on application launch
…foreground color preference. Moved NSTextView related code to EditPaneTextView.