Templates: 10L fix in add_post, and bootstrap'ize add_thread