Update cocoa tutorials to make it possible run them all in one session (before

they were using the same color indices for custom colors and this was not good at all).
Also, make these tutorials look more ... modern (?) and reasonable, add some primitive error handling at least.