Cocos2d: various cleanups