Fixed a bug of CCEvent, and updated Reference and Glossary.md