Merge pull request #75 from natural-law/develop

Solve two bugs in cocos2d-console.