Added tinyMCE editor, and fixed some special character bugs in php