Rewrote timer for cocos2d;
Fixed pause;