Only render threads on demand

Closes bakape#111