Convert to ARC and modern Objective-C
Remove unnecessary code
Expose didInitColor
Fix crash