Support CGColor from NSColor on Lion (#233)
Fix using method not supported on 10.8 or ealier (#233)
Avoid using `weak` on windowControllers and viewControllers (#233)