Tweaking text resource loading
fixed the text media handler