Rearrange script load order
Only render threads on demand

Resolves bakape#111