Thread type stays unset on thread creation

When a replay or a capture thread is created, the thread type is not set. Therefore, when the thread list is fetched via `dabba thread get`, all threads are shown as capture threads.