added emalloc() splitstr() splitline() improved urltitle()