timeout fixes, UTF8 for templates