Allow any thread type

Avoids having to update the viewer every time a new type is added.