core: fixes for tinymce initialization and language tab sync in the admin