Bunch of fixes for tinymce